//
//  LKDayInforDetailHeaderCell.m
//  YLHelper
//
//  Created by she1323 on 2018/4/19.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import "LKDayInforDetailHeaderCell.h"

@interface LKDayInforDetailHeaderCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *positionLabel;

@property (weak, nonatomic) IBOutlet UILabel *companyLabel;
@property (weak, nonatomic) IBOutlet UILabel *descripLabel;
@property (weak, nonatomic) IBOutlet UIImageView *iconImageV;

@end

@implementation LKDayInforDetailHeaderCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.editBtn.layer.borderColor = blueDefault.CGColor;
    self.editBtn.layer.borderWidth = 1;
    self.editBtn.layer.cornerRadius = 5;
    self.editBtn.layer.masksToBounds = YES;
    self.nameLabel.text = [LKUserInforTool account].name == nil ? @"":[LKUserInforTool account].name;
    self.companyLabel.text = [LKUserInforTool account].corporateName;
    self.positionLabel.text = [NSString stringWithFormat:@"%@ | %@",[LKUserInforTool account].postName,[LKUserInforTool account].userSerialNumber];
    NSString *introduceStr = [NSString judegeIsNullAndTransform:[LKUserInforTool account].personalProfile];
    self.descripLabel.text = [NSString stringWithFormat:@"个人简介：%@",introduceStr];
    self.iconImageV.layer.cornerRadius = 32.5;
    self.iconImageV.layer.masksToBounds = YES;
    [self.iconImageV sd_setImageWithURL:[NSURL URLWithString:[LKUserInforTool account].headPortrait] placeholderImage:[UIImage imageNamed:@"minecardtouxiang"]];
    // Initialization code
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
